#!/bin/bash

# if  [条件];then
# 代码块
# fi

UserName=`id  -u`
if [ $UserName  -eq  0 ];then
    echo "root"
fi

if [ $UserName -gt  0 ];then
    whoami
fi


if [  -f  /etc/yum.repos.d/local.repo ];then
sudo cat /etc/yum.repos.d/local.repo 
fi 
